From 26ca99b10b6072fa25f7d518fdea2f87bda190de Mon Sep 17 00:00:00 2001 From: Debian Multimedia Maintainers Date: Mon, 2 Sep 2019 13:35:55 +0200 Subject: [PATCH] made it compile with RtAudio-4.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Origin: https://github.com/jcacerec/jacktrip/commit/83fbb337 Applied-Upstream: 83fbb337266e4ba17828db746955a2b83ae0248d Reviewed-by: IOhannes m zmölnig Last-Update: 2015-06-28 RtAudio has changed the exception class from RtError to RtAudioError Last-Update: 2015-06-28 Gbp-Pq: Name rtaudio411.patch --- src/RtAudioInterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/RtAudioInterface.cpp b/src/RtAudioInterface.cpp index 3add762..a08c8a7 100644 --- a/src/RtAudioInterface.cpp +++ b/src/RtAudioInterface.cpp @@ -123,7 +123,7 @@ void RtAudioInterface::setup() sampleRate, &bufferFrames, &RtAudioInterface::wrapperRtAudioCallback, this, &options); } - catch ( RtError& e ) { + catch ( RtAudioError& e ) { std::cout << '\n' << e.getMessage() << '\n' << std::endl; exit( 0 ); } @@ -213,7 +213,7 @@ int RtAudioInterface::wrapperRtAudioCallback(void *outputBuffer, void *inputBuff int RtAudioInterface::startProcess() const { try { mRtAudio->startStream(); } - catch ( RtError& e ) { + catch ( RtAudioError& e ) { std::cout << '\n' << e.getMessage() << '\n' << std::endl; return(-1); } @@ -225,7 +225,7 @@ int RtAudioInterface::startProcess() const int RtAudioInterface::stopProcess() const { try { mRtAudio->closeStream(); } - catch ( RtError& e ) { + catch ( RtAudioError& e ) { std::cout << '\n' << e.getMessage() << '\n' << std::endl; return(-1); } -- 2.30.2